<template>
  <view class="card">
    <image src="https://picsum.photos/id/26/300/300" class="pic"></image>
    <view class="info">
      <view class="title">扫地工</view>
      <view class="sub">会员专享</view>
      <view class="price">￥373</view>
    </view>
  </view>
</template>

<script>
  export default {
    props: {

    },
    data() {
      return {

      };
    }
  }
</script>

<style lang="scss">
  .card {
    width: 340rpx;
    height: 490rpx;
    background: #fff;
    border-radius: 20rpx;
    overflow: hidden;
    margin-bottom: 24rpx;
    
    .pic {
      width: 340rpx;
      height: 340rpx;
      object-fit: cover;
    }
    
    .info {
      padding: 0 20rpx;
    }
    
    .title {
      font-size: 28rpx;
    }
    
    .sub {
      font-size: 22rpx;
      color: #9A9A9A;
      padding: 8rpx 0;
    }
    
    .price {
      font-size: 32rpx;
      color: #FF4500;
    }
  }
</style>
